from gui . tests . event_test_assistant import gui_event_test_assistant

class gui_key_return_event_tests :
    'gui_key_return_event'
    def __init__ ( self , test ) :
        self . _assistant = gui_event_test_assistant ( test )
    def test_key_return_event ( self ) :
        self . _assistant . check_arbitrary_event ( 'key_return' , 'bind_all' , '<Return>' )
    def test_key_return_event_handler ( self ) :
        self . _assistant . check_arbitrary_event_handler ( 'key_return' , 'bind_all' )
    def test_key_return_event_handler_persistance ( self ) :
        self . _assistant . check_arbitrary_event_handler_persistance ( 'key_return' , 'bind_all' )
    def test_key_return_event_handler_destruction ( self ) :
        self . _assistant . check_arbitrary_event_handler_destruction ( 'key_return' , 'bind_all' )
    def test_key_return_event_encapsulation ( self ) :
        self . _assistant . check_arbitrary_event_encapsulation ( 'key_return' )
